package cn.itcast.hotel.pojo.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

@Data
@Schema(description = "酒店查询条件")
public class hotelDto {
    @Schema(description = "搜索关键词")
    String key;
    
    @Schema(description = "页码", example = "1")
    Integer page;
    
    @Schema(description = "每页大小", example = "10")
    Integer size;
    
    @Schema(description = "排序字段")
    String sortBy;
    
    // 下面是新增的过滤条件参数
    @Schema(description = "城市")
    private String city;
    
    @Schema(description = "品牌")
    private String brand;
    
    @Schema(description = "星级")
    private String starName;
    
    @Schema(description = "最低价格")
    private Integer minPrice;
    
    @Schema(description = "最高价格")
    private Integer maxPrice;
    
    //添加地理位置条件
    @Schema(description = "地理位置坐标，格式：纬度,经度")
    private String location;
}